<!--模板开始-->
<style type="text/css">

    .showwords
    {
        font-size: 28px;
        position: absolute;
        /*z-index: 1;*/
        top: 84%;
        margin: -39px;
        width: 100%;
        text-align: center;
        height: 50px;
        line-height: 50px;
        letter-spacing: 4px;
        color: white;
        font-weight: bolder;
        text-shadow: 3px 3px 10px black, 3px -3px 10px black, -3px 3px 10px black, -3px -3px 10px black;
        left: 36px;
    }

    *
    {
        padding: 0px;
        margin: 0px;
        -webkit-box-sizing: border-box;
    }

    body
    {
        /*background-color: white;*/
    }

    #container
    {
        width: 500px;
        height: 100%;
        position: absolute;
        overflow: hidden;
    }
    #psKO4Oc0R-an-obj-1 {
        position:absolute;
        -webkit-transform: translate3d(0px, 0px, 0px);
        width: 500px;
        height: 815px;
        top:0; left:0;
    }

    #psKO4Oc0R-an-obj-2 {
        position:absolute;
        -webkit-transform: translate3d(185px, 739px, 0px);
        width: 281px;
        height: 33px;
        top:0; left:0;
    }

    #psKO4Oc0R-an-obj-3 {
        position:absolute;
        -webkit-transform: translate3d(301px, 538px, 0px);
        width: 177px;
        height: 221px;
        top:0; left:0;
    }

    #psKO4Oc0R-an-obj-4 {
        position:absolute;
        -webkit-transform: translate3d(357px, 593px, 0px);
        width: 82px;
        height: 59px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-4-0 2.4104s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-4-0 {
        0% {
            -webkit-transform: translate3d(357px, 593px, 0px) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        35.5603% {
            -webkit-transform: translate3d(357px, 593px, 0px) scale3d(1.07, 1.17, 1);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        56.8427% {
            -webkit-transform: translate3d(357px, 593px, 0px) scale3d(1.057, 1.137, 1);
            -webkit-animation-timing-function:ease;
            opacity: 1;
        }
        72.7371% {
            -webkit-transform: translate3d(357px, 593px, 0px) scale3d(1, 1, 1);
            -webkit-animation-timing-function:ease;
            opacity: 1;
        }
        100% {
            -webkit-transform: translate3d(357px, 593px, 0px) scale3d(1, 1, 1);
            -webkit-animation-timing-function:ease;
            opacity: 0.99;
        }
    }

    #psKO4Oc0R-an-obj-5 {
        position:absolute;
        -webkit-transform: translate3d(409px, 631px, 0px);
        width: 14px;
        height: 9px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-5-0 2.4104s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-5-0 {
        0% {
            -webkit-transform: translate3d(409px, 631px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        35.5603% {
            -webkit-transform: translate3d(409px, 631px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-7.5deg) scale3d(0.79, 0.75, 1);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        56.8427% {
            -webkit-transform: translate3d(409px, 631px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-6deg) scale3d(0.832, 0.8, 1);
            -webkit-animation-timing-function:ease;
            opacity: 1;
        }
        72.7371% {
            -webkit-transform: translate3d(409px, 631px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale3d(1, 1, 1);
            -webkit-animation-timing-function:ease;
            opacity: 1;
        }
        100% {
            -webkit-transform: translate3d(409px, 631px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale3d(1, 1, 1);
            -webkit-animation-timing-function:ease;
            opacity: 0.99;
        }
    }

    #psKO4Oc0R-an-obj-6 {
        position:absolute;
        -webkit-transform: translate3d(417px, 632px, 0px);
        width: 20px;
        height: 14px;
        top:0; left:0;
        -webkit-transform-origin: 2.5% 10.71%;
        -webkit-animation: ani-psKO4Oc0R-an-obj-6-0 2.4104s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-6-0 {
        0% {
            -webkit-transform: translate3d(417px, 635px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        35.5603% {
            -webkit-transform: translate3d(417px, 635px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-11.8deg);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        56.8427% {
            -webkit-transform: translate3d(417px, 635px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-7.97deg);
            -webkit-animation-timing-function:ease;
            opacity: 1;
        }
        72.7371% {
            -webkit-transform: translate3d(417px, 635px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
            -webkit-animation-timing-function:ease;
            opacity: 1;
        }
        100% {
            -webkit-transform: translate3d(417px, 635px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
            -webkit-animation-timing-function:ease;
            opacity: 0.99;
        }
    }

    #psKO4Oc0R-an-obj-7 {
        position:absolute;
        -webkit-transform: translate3d(431px, 638px, 0px);
        width: 10px;
        height: 10px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-7-0 2.4104s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-7-0 {
        0% {
            -webkit-transform: translate3d(431px, 638px, 0px);
            opacity: 0;
            -webkit-animation-timing-function:linear;
        }
        35.5603% {
            -webkit-transform: translate3d(432px, 634px, 0px);
            opacity: 1;
            -webkit-animation-timing-function:linear;
        }
        56.8427% {
            -webkit-transform: translate3d(431.68853044545455px, 635.2458782181818px, 0px);
            opacity: 0.689;
            -webkit-animation-timing-function:ease;
        }
        72.7371% {
            -webkit-transform: translate3d(431px, 638px, 0px);
            opacity: 0;
            -webkit-animation-timing-function:ease;
        }
        100% {
            -webkit-transform: translate3d(431px, 638px, 0px);
            opacity: 0.01;
            -webkit-animation-timing-function:ease;
        }
    }

    #psKO4Oc0R-an-obj-8 {
        position:absolute;
        -webkit-transform: translate3d(370px, 590px, 0px) scale3d(1, 1.02, 1);
        width: 19px;
        height: 13px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-8-0 2.4104s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-8-0 {
        0% {
            -webkit-transform: translate3d(370px, 590px, 0px) scale3d(1, 1.02, 1);
            opacity: 0;
            -webkit-animation-timing-function:ease;
        }
        62.0959% {
            -webkit-transform: translate3d(370px, 590px, 0px) scale3d(1, 1.02, 1);
            opacity: 0.01;
            -webkit-animation-timing-function:ease;
        }
        62.7694% {
            -webkit-transform: translate3d(370px, 590px, 0px) scale3d(1, 1.02, 1);
            opacity: 1;
            -webkit-animation-timing-function:linear;
        }
        72.7371% {
            -webkit-transform: translate3d(355px, 553px, 0px) scale3d(1.29, 1.3464, 1);
            opacity: 0.6;
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(348px, 540px, 0px) scale3d(1.29, 1.3464, 1);
            opacity: 0;
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-9 {
        position:absolute;
        -webkit-transform: translate3d(408px, 604px, 0px) scale3d(0.59, 0.63, 1);
        width: 19px;
        height: 13px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-9-0 2.4104s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-9-0 {
        0% {
            -webkit-transform: translate3d(408px, 604px, 0px) scale3d(0.59, 0.63, 1);
            opacity: 0;
            -webkit-animation-timing-function:ease;
        }
        62.0959% {
            -webkit-transform: translate3d(408px, 604px, 0px) scale3d(0.59, 0.63, 1);
            opacity: 0.01;
            -webkit-animation-timing-function:ease;
        }
        62.7694% {
            -webkit-transform: translate3d(408px, 604px, 0px) scale3d(0.59, 0.63, 1);
            opacity: 1;
            -webkit-animation-timing-function:linear;
        }
        72.7371% {
            -webkit-transform: translate3d(428px, 576px, 0px) scale3d(1.18, 1.26, 1);
            opacity: 1;
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(442px, 556px, 0px) scale3d(1.18, 1.26, 1);
            opacity: 0;
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-10 {
        position:absolute;
        -webkit-transform: translate3d(223px, 622px, 0px);
        width: 103px;
        height: 141px;
        top:0; left:0;
    }

    #psKO4Oc0R-an-obj-11 {
        position:absolute;
        -webkit-transform: translate3d(221px, 637px, 0px);
        width: 81px;
        height: 59px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-11-0 1s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-11-0 {
        0% {
            -webkit-transform: translate3d(220px, 637px, 0px);
            -webkit-animation-timing-function:linear;
        }
        23.871% {
            -webkit-transform: translate3d(223px, 637px, 0px);
            -webkit-animation-timing-function:linear;
        }
        47.0968% {
            -webkit-transform: translate3d(224.2454861010101px, 640px, 0px);
            -webkit-animation-timing-function:linear;
        }
        71.9355% {
            -webkit-transform: translate3d(220.77515286898765px, 640.5477484913706px, 0px);
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(220px, 637px, 0px);
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-12 {
        position:absolute;
        -webkit-transform: translate3d(209px, 679px, 0px);
        width: 97px;
        height: 83px;
        top:0; left:0;
    }

    #psKO4Oc0R-an-obj-13 {
        position:absolute;
        -webkit-transform: translate3d(240px, 648px, 0px);
        width: 45px;
        height: 9px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-13-0 1s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-13-0 {
        0% {
            -webkit-transform: translate3d(240px, 648px, 0px) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
        23.301% {
            -webkit-transform: translate3d(240px, 648px, 0px) scale3d(1, 0.64, 1);
            -webkit-animation-timing-function:linear;
        }
        46.9256% {
            -webkit-transform: translate3d(240px, 648px, 0px) scale3d(1, 0.68, 1);
            -webkit-animation-timing-function:ease;
        }
        72.8155% {
            -webkit-transform: translate3d(240px, 648px, 0px) scale3d(1, 0.932, 1);
            -webkit-animation-timing-function:ease;
        }
        100% {
            -webkit-transform: translate3d(240px, 648px, 0px) scale3d(1, 0.86, 1);
            -webkit-animation-timing-function:ease;
        }
    }

    #psKO4Oc0R-an-obj-14 {
        position:absolute;
        -webkit-transform: translate3d(68px, 138px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(9.3deg);
        width: 377px;
        height: 417px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-14-0 1.4773s 0s infinite linear alternate both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-14-0 {
        0% {
            -webkit-transform: translate3d(-1px, -1px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(9.3deg);
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(-1px, -1px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-1.5999999999999996deg);
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-15 {
        position:absolute;
        -webkit-transform: translate3d(219px, 618px, 0px);
        width: 20px;
        height: 20px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-15-0 1.69s 0.5575s infinite linear alternate both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-15-0 {
        0% {
            -webkit-transform: translate3d(219px, 618px, 0px);
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(219px, 613px, 0px);
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-16 {
        position:absolute;
        -webkit-transform: translate3d(-88px, -11px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-23.9deg);
        width: 179px;
        height: 41px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-16-0 0.5625s 0s 1 linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-16-0 {
        0% {
            -webkit-transform: translate3d(-51px, -27.294196577968528px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(1.9000000000000021deg) scale3d(0.43, 0.49, 1);
            -webkit-animation-timing-function:linear;
        }
        41.3333% {
            -webkit-transform: translate3d(-72.64998px, -16.70096576715772px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-20.2deg) scale3d(0.717, 0.747, 1);
            -webkit-animation-timing-function:linear;
        }
        82.2222% {
            -webkit-transform: translate3d(-88px, -4.294196577968526px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-23.9deg) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
        92.8889% {
            -webkit-transform: translate3d(-88px, -4.746455923846604px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-21.2deg) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(-88px, -5.064670935222037px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(-23.9deg) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-17 {
        position:absolute;
        -webkit-transform: translate3d(337px, 596px, 0px);
        width: 20px;
        height: 20px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-17-0 1.055s 1.165s infinite linear alternate both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-17-0 {
        0% {
            -webkit-transform: translate3d(337px, 596px, 0px);
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(337px, 588px, 0px);
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-18 {
        position:absolute;
        -webkit-transform: translate3d(-38px, -13px, 0px);
        width: 91px;
        height: 54px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-18-0 0.5975s 0.5625s 1 linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-18-0 {
        0% {
            -webkit-transform: translate3d(-18px, -13px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale3d(0.13, 0.14, 1);
            -webkit-animation-timing-function:linear;
        }
        70.7113% {
            -webkit-transform: translate3d(-39px, -40.364025675558764px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
        88.7029% {
            -webkit-transform: translate3d(-38.91372184378174px, -47.1091216174198px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(23.4deg) scale3d(1.18, 1.26, 1);
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(-38.84813543749637px, -51.67552413813265px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(21.5deg) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-19 {
        position:absolute;
        -webkit-transform: translate3d(-118px, 92px, 0px);
        width: 118px;
        height: 58px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-19-0 12.237s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-19-0 {
        0% {
            -webkit-transform: translate3d(-118px, 92px, 0px);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        83.948% {
            -webkit-transform: translate3d(500px, 91px, 0px);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        100% {
            -webkit-transform: translate3d(500px, 91px, 0px);
            -webkit-animation-timing-function:ease;
            opacity: 0.8;
        }
    }

    #psKO4Oc0R-an-obj-20 {
        position:absolute;
        -webkit-transform: translate3d(-119px, 142px, 0px) scale3d(0.62, 0.62, 1);
        width: 118px;
        height: 58px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-20-0 21.6201s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-20-0 {
        0% {
            -webkit-transform: translate3d(-95px, 21px, 0px) scale3d(0.62, 0.62, 1);
            -webkit-animation-timing-function:linear;
            background-color: rgba(0,0,0,0);
        }
        9.2957% {
            -webkit-transform: translate3d(-95px, 21px, 0px) scale3d(0.62, 0.62, 1);
            -webkit-animation-timing-function:ease;
            background-color: rgba(0,0,0,0);
        }
        90.419% {
            -webkit-transform: translate3d(478px, 15px, 0px) scale3d(0.62, 0.62, 1);
            -webkit-animation-timing-function:ease;
            background-color: rgba(0,0,0,0);
        }
        100% {
            -webkit-transform: translate3d(478px, 15px, 0px) scale3d(0.62, 0.62, 1);
            -webkit-animation-timing-function:ease;
            background-color: rgba(255,255,255,1);
        }
    }

    #psKO4Oc0R-an-obj-21 {
        position:absolute;
        -webkit-transform: translate3d(-93px, 17px, 0px);
        width: 67px;
        height: 93px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-21-0 10.9545s 0.0065s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-21-0 {
        0% {
            -webkit-transform: translate3d(-93px, 17px, 0px);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        73.2662% {
            -webkit-transform: translate3d(500px, 1px, 0px);
            -webkit-animation-timing-function:linear;
            opacity: 1;
        }
        100% {
            -webkit-transform: translate3d(500px, 1px, 0px);
            -webkit-animation-timing-function:linear;
            opacity: 0.4;
        }
    }

    #psKO4Oc0R-an-obj-22 {
        position:absolute;
        -webkit-transform: translate3d(-372px, 376px, 0px);
        width: 118px;
        height: 58px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-22-0 13s 0.0032s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-22-0 {
        0% {
            -webkit-transform: translate3d(-119px, 409px, 0px);
            opacity: 0.6;
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(508px, 408px, 0px);
            opacity: 0.6;
            -webkit-animation-timing-function:linear;
        }
    }

    #psKO4Oc0R-an-obj-23 {
        position:absolute;
        -webkit-transform: translate3d(243px, 660px, 0px);
        width: 19px;
        height: 19px;
        top:0; left:0;
        -webkit-animation: ani-psKO4Oc0R-an-obj-23-0 1.0032s 0s infinite linear both ;
    }

    @-webkit-keyframes ani-psKO4Oc0R-an-obj-23-0 {
        0% {
            -webkit-transform: translate3d(240px, 656px, 0px) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
        22.6764% {
            -webkit-transform: translate3d(244px, 658px, 0px) scale3d(0.95, 1, 1);
            -webkit-animation-timing-function:linear;
        }
        46.5987% {
            -webkit-transform: translate3d(245px, 664px, 0px) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
        72.8155% {
            -webkit-transform: translate3d(241px, 663px, 0px) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
        100% {
            -webkit-transform: translate3d(240px, 656px, 0px) scale3d(1, 1, 1);
            -webkit-animation-timing-function:linear;
        }
    }



    #page1,#pagebox1,#page2,#pagebox2
    {
        position: absolute;
        width: 363px;
        height: 404px;

        top: 0px;
        left: 0px;
        overflow: hidden;

    }
    #pagecontain
    {
        position: absolute;
        top: 123px;
        left: 70px;
        opacity: 0;

    }
    #page1
    {
        border-radius: 26px;
        /*        background-image: url('https://tu.kagirl.cn/pic/view/1.jpg');
                -webkit-animation: move_to_left1 3s linear forwards;*/
    }
    #page2
    {
        border-radius: 26px;
        /*background-image: url('https://tu.kagirl.cn/pic/view/2.jpg');*/
        /*-webkit-animation: move_to_left 3s linear forwards;*/
    }
    #pagebox1
    {
        -webkit-animation: move_to_right1 3s linear forwards;
    }
    @-webkit-keyframes move_to_left
    {
        from   {-webkit-transform: translate(0px,0px);}
        to     {-webkit-transform: translate(365px,0px);}
    }
    @-webkit-keyframes move_to_right
    {
        from   {-webkit-transform: translate(0px,0px);}
        to     {-webkit-transform: translate(-365px,0px);}
    }

    @-webkit-keyframes move_to_right1
    {
        from   {-webkit-transform: translate(-365px,0px);}
        to     {-webkit-transform: translate(0px,0px);}
    }
    @-webkit-keyframes move_to_left1
    {
        from   {-webkit-transform: translate(365px,0px)}
        to     {-webkit-transform: translate(0px,0px);}
    }
    @-webkit-keyframes ps_in_bounce_down
    {
        0%{
            opacity:0;
            -webkit-transform:translateY(-2000px)
        }
        60%{
            opacity:1;
            -webkit-transform:translateY(30px)
        }
        80%{
            -webkit-transform:translateY(-10px)
        }
        100%{
            -webkit-transform:translateY(0)
        }
    }
    @-webkit-keyframes ps_in_bounce_up
    {
        0%{
            opacity:0;
            -webkit-transform:translateY(2000px)
        }
        60%{
            opacity:1;
            -webkit-transform:translateY(-30px)
        }
        80%{
            -webkit-transform:translateY(10px)
        }
        100%{
            -webkit-transform:translateY(0)
        }
    }
    @-webkit-keyframes aa_in_bounce_down
    {
        0%{
            opacity:0;
            -webkit-transform:translateY(-2000px)
        }
        60%{
            opacity:1;
            -webkit-transform:translateY(30px)
        }
        80%{
            -webkit-transform:translateY(-10px);
            opacity: 1;
        }
        100%{
            -webkit-transform:translateY(0);
            opacity: 1
        }
    }
    @-webkit-keyframes aa_out_bounce_up
    {
        0%{
            -webkit-transform:translateY(0);
            opacity: 1;
        }
        20%{
            opacity:1;
            -webkit-transform:translateY(20px)
        }
        100%{
            opacity:0;
            -webkit-transform:translateY(-2000px)
        }
    }
</style>

<div id='container'>

    <div id="psKO4Oc0R-an-obj-1"><div><img  height="815" width="500"  src="{$skinurl}skin/lvxing/bg.jpg"></div></div>
    <div id="psKO4Oc0R-an-obj-22"><div><img  height="58" width="118"  src="{$skinurl}skin/lvxing/yun.png"></div></div>
    <div id='pagecontain' style='width:367px;height:409px;border-radius:26px;background-color:white;'>
        <div id='pagebox2' style='top:2px;left:2px'>
            <div id='page2'><span id='wordword2' class='showwords'></span></div>
        </div>

        <div id='pagebox1' style='top:2px;left:2px;'>
            <div id='page1'><span id='wordword1' class='showwords'></span></div>
        </div>

        <div id="psKO4Oc0R-an-obj-14"><div><img  height="417" width="377"  src="{$skinurl}skin/lvxing/xian.png"></div></div>
    </div>
    <!--     <div id="psKO4Oc0R-an-obj-14"><div><img  height="417" width="377"  src="{$skinurl}skin/lvxing/xian.png"></div></div> -->

    <div style='position:absolute;top:-30px;'>
        <div id="psKO4Oc0R-an-obj-2"><div><img  height="33" width="281"  src="{$skinurl}skin/lvxing/yzz.png"></div></div>
        <div id="psKO4Oc0R-an-obj-3"><div><img  height="221" width="177"  src="{$skinurl}skin/lvxing/bd.png"></div></div>
        <div id="psKO4Oc0R-an-obj-4"><div><img  height="59" width="82"  src="{$skinurl}skin/lvxing/fc.png"></div></div>
        <div id="psKO4Oc0R-an-obj-5"><div><img  height="9" width="14"  src="{$skinurl}skin/lvxing/mus.png"></div></div>
        <div id="psKO4Oc0R-an-obj-6"><div><img  height="14" width="20"  src="{$skinurl}skin/lvxing/smk.png"></div></div>
        <div id="psKO4Oc0R-an-obj-7"><div><img  height="10" width="10"  src="{$skinurl}skin/lvxing/smke.png"></div></div>
        <div id="psKO4Oc0R-an-obj-8"><div><img  height="13" width="19"  src="{$skinurl}skin/lvxing/smkr.png"></div></div>
        <div id="psKO4Oc0R-an-obj-9"><div><img  height="13" width="19"  src="{$skinurl}skin/lvxing/smkr.png"></div></div>
        <div id="psKO4Oc0R-an-obj-10"><div><img  height="141" width="103"  src="{$skinurl}skin/lvxing/rbd.png"></div></div>
        <div id="psKO4Oc0R-an-obj-11"><div><img  height="59" width="81"  src="{$skinurl}skin/lvxing/rfc.png"></div></div>
        <div id="psKO4Oc0R-an-obj-12"><div><img  height="83" width="97"  src="{$skinurl}skin/lvxing/vh.png"></div></div>
        <div id="psKO4Oc0R-an-obj-13"><div><img  height="9" width="45"  src="{$skinurl}skin/lvxing/ez.png"></div></div>

        <div id="psKO4Oc0R-an-obj-15" style='display:none'>
            <div id='word1' style='position:absolute;opacity:0;top:-20px;'>
                <div id="psKO4Oc0R-an-obj-16"><div><img  height="41" width="179"  src="{$skinurl}skin/lvxing/tx.png"></div></div>
            </div>
        </div>
        <div id="psKO4Oc0R-an-obj-17" style='display:none'>
            <div id='word2' style='position:absolute;opacity:0;top:-20px;'>
                <div id="psKO4Oc0R-an-obj-18"><div><img  height="54" width="91"  src="{$skinurl}skin/lvxing/tx2.png"></div></div>
            </div>
        </div>
        <div id="psKO4Oc0R-an-obj-23"><div><img  height="19" width="19"  src="{$skinurl}skin/lvxing/zzz.png"></div></div>
    </div>
    <div id="psKO4Oc0R-an-obj-19"><div><img  height="58" width="118"  src="{$skinurl}skin/lvxing/yun.png"></div></div>
    <div id="psKO4Oc0R-an-obj-20"><div><img  height="58" width="118"  src="{$skinurl}skin/lvxing/yun.png"></div></div>
    <div id="psKO4Oc0R-an-obj-21"><div><img  height="93" width="67"  src="{$skinurl}skin/lvxing/qiqiu.png"></div></div>

    <div id='pagetitle' style='position:absolute;width:440px;height:300px;top:238px;left:30px;font-size:38px;color:#fff;overflow:hidden;font-weight:bold;opacity:0;'>
        <img src='{$skinurl}skin/lvxing/xian1.png' style='width:440px;height:200px;'>
        <div style='position:absolute;width:403px;height:148px;top:20px;left:20px;overflow:hidden;'>
            <div style='position:absolute;width:403px;height:148px;display:table;overflow:hidden;'>
                <div id='titlecontent' style='width:403px;height:148px;vertical-align:middle;display:table-cell;text-align:center;line-height:130%;color:#fffff;'></div>
            </div>
        </div>
    </div>

</div>



<script>

    var image_size_width=[];
    var image_size_height=[];

    var image_url_index=0;
    var canshow = true;
    var reshow = false;
    var have_num = 0;
    var error_num = 0;

    var timeout0;
    var timeout1;
    var timeout2;
    var timeout3;
    var begintime = 0;
    var showtime = 0;
    var timeout4;
    var timeout5;
    var delaytime = 3000;
    function id(name)
    {
        return document.getElementById(name);
    }

    function Initload()
    {
        var d = new Date();
        begintime = d.getTime();
        load_images();

    }
    function load_images()
    {
        reshow = false;
        image_size_width=[];
        image_size_height=[];
        Onload_imgs_url=[];

        image_url_index=0;
        have_num = 0;
        error_num = 0;
        id('page1').style.webkitAnimation = '';
        id('page2').style.webkitAnimation = '';
        id('pagebox1').style.webkitAnimation = '';
        id('pagebox2').style.webkitAnimation = '';

        clearTimeout(timeout0);
        clearTimeout(timeout1);
        clearTimeout(timeout2);
        clearTimeout(timeout3);
        clearTimeout(timeout4);
        clearTimeout(timeout5);
        canshow = true;

        begin_titletime = new Date();
        begin_titletime = begin_titletime.getTime();
        showtitle();

        for(var i=0;i<slider_images_url.length;i++)
        {
            var img=new Image();
            img.index=i;
            img.src=slider_images_url[i];
            Onload_imgs_url[i] = 'loading';
            img.onload=image_onload;
            img.onerror = image_onerror;
        }
    }
    function image_onerror(event)
    {
        var img = event.target;
        var index = img.index;
        if(index<10)
            error_num ++;

        Onload_imgs_url[index] = 'not find';
        console.log(Onload_imgs_url[index]);
        console.log(have_num + '-' + error_num);

        if((have_num+error_num >= 10 || slider_images_url.length == (have_num+error_num)) && canshow == true)
        {
            reshow = false;
            canshow =false;

            if(have_num == 0)
                return;

            var end_titletime = new Date();
            end_titletime = end_titletime.getTime();
            var dis_titletime = Math.abs(end_titletime-begin_titletime);
            if(dis_titletime>delaytime)
            {
                distitle();
            }
            else
            {
                dis_titletime = delaytime- dis_titletime;
                timeout0 = setTimeout(function()
                {
                    distitle();
                },dis_titletime);
            }
        }
    }
    function showtitle()
    {
        id('titlecontent').innerHTML = e_title;
        id('pagetitle').style.webkitAnimation = 'aa_in_bounce_down 1s ease-out both';

        id('word1').style.opacity = 1;
        id('word1').style.webkitAnimation = 'ps_in_bounce_up 2s ease forwards';
        id('word2').style.opacity = 1;
        id('word2').style.webkitAnimation = 'ps_in_bounce_up 2s 1s ease both';
    }

    function distitle()
    {
        id('pagetitle').style.webkitAnimation = 'aa_out_bounce_up 1s 1.5s ease-in both';
        toshow();
    }
    function image_onload(event)
    {
        if(reshow == true)
            return;

        var img=event.target;
        var index = img.index;

        if(index<10)
            have_num++;

        Onload_imgs_url[index]=img.src;
        image_size_width[index]=img.width;
        image_size_height[index]=img.height;

        if((have_num+error_num >= 10 || slider_images_url.length == (have_num+error_num)) && canshow == true)
        {
            reshow = false;
            canshow =false;

            if(have_num == 0)
                return;

            var end_titletime = new Date();
            end_titletime = end_titletime.getTime();
            var dis_titletime = Math.abs(end_titletime-begin_titletime);
            if(dis_titletime>delaytime)
            {
                distitle();
            }
            else
            {
                dis_titletime = delaytime- dis_titletime;
                timeout0 = setTimeout(function()
                {
                    distitle();
                },dis_titletime);
            }

        }
    }

    function toshow()
    {
        var d = new Date();
        showtime = d.getTime();
        var distime = showtime - begintime;

        if(Onload_imgs_url.length == 1)
        {
            Onload_imgs_url[1] = Onload_imgs_url[0];
        }
        if(image_url_index == Onload_imgs_url.length)
            image_url_index = 0;
        cut_image(1);
        image_url_index++;
        if(image_url_index == Onload_imgs_url.length)
            image_url_index = 0;
        cut_image(2);
        image_url_index++;

        id('pagecontain').style.opacity = 1;
        id('pagecontain').style.webkitAnimation = 'ps_in_bounce_down 2s 2s ease both';

        begin_show();
    }

    function begin_show()
    {
        if(reshow == true)
            return;



        id('page1').style.webkitAnimation = 'move_to_right 2.5s linear 3s both';
        id('pagebox1').style.webkitAnimation = 'move_to_left 2.5s linear 3s both';


        timeout1 = setTimeout(next_show,9000);

        // timeout2 = setTimeout(next_show,5000);
    }
    function next_show()
    {
        if(reshow == true)
            return;

        if(image_url_index == Onload_imgs_url.length)
            image_url_index = 0;
        cut_image(1);
        image_url_index++;

        id('page1').style.webkitAnimation = 'move_to_left1 2.5s linear both';
        id('pagebox1').style.webkitAnimation = 'move_to_right1 2.5s linear both';

        timeout2 = setTimeout(nextnext_show,6000);
    }
    function nextnext_show()
    {
        if(reshow == true)
            return;
        if(image_url_index == Onload_imgs_url.length)
            image_url_index = 0;
        cut_image(2);
        image_url_index++;

        id('page1').style.webkitAnimation = 'move_to_right 2.5s linear both';
        id('pagebox1').style.webkitAnimation = 'move_to_left 2.5s linear both';


        timeout3 = setTimeout(next_show,6000);
    }

    var get_pid = function(url){
        var index1 = url.indexOf("?");
        if(index1 != -1)
        {
            url = url.substr(0, index1);
        }
        return url.toString().substr(url.lastIndexOf("/") + 1);
    }

    function insertEnter(str,n){
        var len = str.length;
        var strTemp = '';
        if(len > n){
            strTemp = str.substring(0,n);
            str = str.substring(n,len);
            return strTemp+'\n'+str;
        }else{
            return str;
        }
    }

    function cut_image(pageindex)
    {
        if(reshow == true)
            return;
        while(Onload_imgs_url[image_url_index] == 'not find' || Onload_imgs_url[image_url_index] == 'loading')
        {
            // console.log(Onload_imgs_url[image_url_index]);
            image_url_index++;
            if(image_url_index == Onload_imgs_url.length)
                image_url_index = 0;
        }
        var img_bili = image_size_width[image_url_index]/image_size_height[image_url_index];

        var img_obj = id('page'+pageindex);

        var word = id('wordword' + pageindex);
        var word_string = words[get_pid(Onload_imgs_url[image_url_index])];
        if(word_string != undefined)
        {
            word_string = word_string.replace(/[\n]/ig,'');
            var word_length = word_string.length;
            if(word_length < 6)
            {
                word.style.fontSize = "31px";
            }else if(word_length > 10)
            {
                word_string = insertEnter(word_string, 5);
            }
            word.innerText = word_string;
        }
        else
        {
            word.innerText = "";
        }

        if(img_bili >(363/404))
        {
            img_obj.style.backgroundSize = 404*img_bili+'px 404px';
            img_obj.style.backgroundPosition = -(404*img_bili-363)/2+'px 0px';
        }
        else
        {
            img_obj.style.backgroundSize = '363px '+ (363/img_bili)+'px';
            img_obj.style.backgroundPosition = '0px '+ (-(363/img_bili-404)/2)+'px';
        }
        // console.log(img_obj.style.backgroundImage);
        img_obj.style.backgroundImage='url('+Onload_imgs_url[image_url_index]+')';
    }
    call_me(Initload);

    function reload_scene()
    {
        reshow = true;
        clearnode();
        setTimeout(load_images,100)
    }

    function clearnode()
    {
        id('page1').style.webkitAnimation = '';
        id('pagebox1').style.webkitAnimation = '';
        id('pagecontain').style.opacity = 0;
        id('pagecontain').style.webkitAnimation = '';
        id('titlecontent').innerHTML = '';
        id('pagetitle').style.webkitAnimation = '';
        id('word1').style.webkitAnimation = '';
        id('word2').style.webkitAnimation = '';
    }
</script>
<!--模板结束-->